package com.lantu.sys.mapper;

import com.lantu.sys.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author DongJun
 * @since 2023-05-04
 */
public interface UserMapper extends BaseMapper<User> {
     List<User> selectAll(@Param("name")String name);

     User login(@Param("name")String name,@Param("pwd")String pwd,@Param("role")String role);
}
